package com.qf.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;



/**
 * Created with IntelliJ IDEA.
 *
 * @Author: 你的名字
 * @Date: 2021/07/19/20:54
 * @Description:
 */
@FeignClient(name = "car" ,path = "/car")
public interface CarService {

    @RequestMapping("/getCarListByUidAndGid")
    Map<String, Object> getCarListByUidAndGid(@RequestParam("uid") Integer uid, @RequestParam("carGidArray") List<String> carGidArray);
    @RequestMapping("/getCarListByUid/{uid}")
    Map<String, Object> getCarListByUid(@PathVariable("uid") Integer uid);
}
